home *** CD-ROM | disk | FTP | other *** search
- PROGRAM NAME: Label1.PRG
-
- DESCRIPTION: Program to print customized labels
-
- ISSUE: August, 1985
- PAGE: 22
-
- SOFTWARE VERSIONS: dBASE III, versions 1.0, 1.1
-
- FUNCTION║ Label1.PR╟ i≤ ß procedurσ filσ tha⌠ contain≤ DOLABEL¼ ß ì
- procedurσá tha⌠ print≤ morσ thaε onσ labe∞ across«á I⌠ simulate≤ ì
- the operation of the LABEL FORM.
-
- FILES NEEDED: Label1.PRG
- Database file to print labels
-
- SETUP INSTRUCTIONS:
-
- Assigε you≥ prin⌠ linσ expression≤ iε thσ bod∙ oµ thσ DOLABE╠ ì
- procedure« Bσ surσ tha⌠ eacΦ prin⌠ linσ expressioε i≤ withiε thσ ì
- TRIM(⌐ function« Fo≥ eacΦ linσ t∩ print¼ therσ i≤ ß memor∙ ì
- variablσ tha⌠ begin≤ witΦ "lineó anΣ ß numbe≥ reflectinτ thσ ì
- prin⌠ line« Thesσ memor∙ variable≤ arσ createΣ iε thσ commanΣ ì
- line:
-
- STORE "" TO line1, line2, line3, line4
-
- Modif∙ thi≤ commanΣ linσ t∩ reflec⌠ thσ numbe≥ oµ line≤ iε you≥ ì
- label.
-
- If you wish to use the program without change, USE a database
- file structure as follows:
-
- Field Type Length
- Name Character <any length>
- Company Character <any length>
- Address Character <any length>
- City Character <any length>
- State Character <any length>
- Zip Character <any length>
-
-
- T∩ ruε thσ DOLABE╠ procedure¼ yo⌡ mus⌠ pas≤ PARAMETER╙ t∩ it« ì
- The∙ are¼ iε orde≥ oµ passing║ databasσ filename¼ inde° filename¼ ì
- FILTE╥ condition¼ numbe≥ oµ label≤ across¼ labe∞ width¼ numbe≥ oµ ì
- space≤ betweeε labels¼ anΣ printe≥ toggle« Thσ synta° i≤ a≤ ì
- follows:
-
- DO Label1 WITH <expC>,<expC>,<expC>,<expN>,<expN>,<expN>,<expC>
-
- A typical example:
-
- DO Label1 WITH "Yourfile","Yourndx","Zip='95'",2,35,2,"Y"